package calendar;

import java.io.IOException;
import java.util.Date;
import java.util.ArrayList;

/* provides the interface to the remote calendar objects */
public interface CalendarObjInt
{
    ArrayList retrieveEvents(User user, Date start, Date end)
      throws IOException;
    ArrayList scheduleEvent(ArrayList users, Event newEvent, Event oldEvent,
      boolean addToThis ) throws IOException;
//    char getUserId() throws IOException;
    User getUser() throws IOException;
    boolean isConnected() throws IOException;
    void clearMembers() throws IOException;
//    void isAlive() throws IOException;
    void registerCallback( CallbackInt callbackInt ) throws IOException;
    void unregisterCallback() throws IOException;
}